layui.define(['jquery'],
    function (exports) {
        var $ = layui.jquery;
        var layer = layui.layer;
        var kaHtmlStatic = new function () {
            // 系统应用
            this.v1 = function (params) {
                return `
                    <div class="layerOpenTitle1">
                        <i class="icon Kaultraiconfont Kaultraicon-taocanbanben" style="color: red;"></i>
                        <span>系统应用中心</span>
                    </div>
                    <div class="layerOpenTitle2">
                        版本更新时间：` + params.time + `，当前版本：` + params.version + `
                    </div>
                `
            }
            this.v11 = function (params) {
                var html = ``;
                for (var i in params.apps) {
                    var app = params.apps[i];
                    var activeThis = `kaPanel1-this`;
                    var version = app.version;
                    var status = app.status;
                    if (status == 0) {
                        activeThis = ``;
                        version = ``;
                    }
                    html = html + `
                        <div class="layui-panel kaPanel1 ` + activeThis + `">
                            <div class="kaPanel1Title"> ` + app.name + ` </div>
                            <div class="kaPanel1TitleSpan">` + version + `</div>
                            <div class="kaPanel1Body">
                                <div class="layui-btn-group kaPanel1BodyGroup">
                                    <button onclick="testAmbient('` + app.id + `')" type="button" class="layui-btn layui-btn-sm kaPanel1BodyGroupButton1">
                                        <i class="icon Kaultraiconfont Kaultraicon-wodefaqi_1" style="font-size: 10px;"></i> <span>测试环境</span>
                                    </button>
                                    <button onclick="formalAmbient('` + app.id + `')" type="button" class="layui-btn layui-btn-sm kaPanel1BodyGroupButton2">
                                        <i class="icon Kaultraiconfont Kaultraicon-duigou" style="font-size: 12px;"></i> <span>正式环境</span>
                                    </button>
                                </div>	
                            </div>
                        </div>
                    `;
                }
                return `
                    <div class="systemAppLayerOpenPlan">
                        ` + html + `
                        <div  onclick="addApp()" class="layui-panel kaPanel1">
                            <div class="kaPanel1Title" style="height: 100%;line-height: 130px;font-size: 40px;">
                                <i class="icon Kaultraiconfont Kaultraicon-xinzeng1" style="font-size: 60px;"></i>
                            </div>
                        </div>
                    </div>
                `
            }
            // 首页顶部  下来菜单
            this.v2 = function (titles) {
                var iclass = 'icon Kaultraiconfont Kaultraicon-';
                var templets = [
                    { templet: '<i class="' + iclass + titles[0].icon + '"></i> {{= d.title }}<span>' + titles[0].title + '</span>', id: titles[0].id },
                    { templet: '<i class="' + iclass + titles[1].icon + '"></i> {{= d.title }}<span>' + titles[1].title + '</span>', id: titles[1].id },
                    { templet: '<i class="' + iclass + titles[2].icon + '"></i> {{= d.title }}<span>' + titles[2].title + '</span>', id: titles[2].id },
                    { templet: '<i class="' + iclass + titles[3].icon + '"></i> {{= d.title }}<span>' + titles[3].title + '</span>', id: titles[3].id },
                    { type: '-' },
                    { templet: '<i class="' + iclass + titles[4].icon + '" style="color: green;"></i> {{= d.title }}<span>' + titles[4].title + '</span>', id: titles[4].id },
                    { templet: '<i class="' + iclass + titles[5].icon + '" style="color: #ffaf00;"></i> {{= d.title }}<span>' + titles[5].title + '</span>', id: titles[5].id },
                    { templet: '<i class="' + iclass + titles[6].icon + '" style="color: #007dff;"></i> {{= d.title }}<span>' + titles[6].title + '</span>', id: titles[6].id },
                    { templet: '<i class="' + iclass + titles[7].icon + '" style="color: #3ab5ff;font-size: 14px;"></i> {{= d.title }}<span>' + titles[7].title + '</span>', id: titles[7].id },
                    { templet: '<i class="' + iclass + titles[8].icon + '" style="color: #3ab5ff;font-size: 13px;"></i> {{= d.title }}<span>' + titles[8].title + '</span>', id: titles[8].id },
                    { type: '-' },
                    { templet: '<i class="' + iclass + titles[9].icon + '" style="color: red;"></i> {{= d.title }}<span>' + titles[9].title + '</span>', id: titles[9].id }
                ]
                return templets
            }
            this.v21 = function (params) {
                var currentUser = layui.kaCurrentUser.get().data;
                return `
                    <div class="layerOpenTitle1">
                        <img src="` + currentUser.avatar + `" class="usernameImg" style="width: 35px !important;height: 35px !important;margin-top: 9px;">
                        <span style="font-size: 16px;">` + currentUser.nickName + `</span>
                    </div>
                    <div class="layerOpenTitle2" style="margin-left: 25px;">
                        个人签名：` + currentUser.signature + `
                    </div>
                `
            }
            this.v22 = function (params) {
                var html = ``;
                return `
                <div style="padding: 10px;width: calc(100% - 20px);height: calc(100% - 20px);overflow: auto;">
                    <fieldset class="layui-elem-field layui-field-title">
                        <legend>基础资料</legend>
                    </fieldset>
                    <div class="layui-row kaXNTableTrDiv">
                        <div class="layui-col-xs6 layui-col-sm6 layui-col-md6 kaXNTableTrTdDiv">
                            <table class="layui-table">
                                <tbody>
                                    <tr>
                                        <td class="kaXNTableTrTdDivStr">账号</td>
                                        <td class="kaXNTableTrTdDivValueStr">` + params.userName + `</td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                        <div class="layui-col-xs6 layui-col-sm6 layui-col-md6 kaXNTableTrTdDiv">
                            <table class="layui-table">
                                <tbody>
                                    <tr>
                                         <td class="kaXNTableTrTdDivStr">邮箱</td>
                                         <td class="kaXNTableTrTdDivValueStr">` + params.email + `</td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                        <div class="layui-col-xs6 layui-col-sm6 layui-col-md6">
                            <table class="layui-table">
                                <tbody>
                                    <tr>
                                        <td class="kaXNTableTrTdDivStr">手机号码</td>
                                        <td class="kaXNTableTrTdDivValueStr">` + params.phonenumber + `</td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                        <div class="layui-col-xs6 layui-col-sm6 layui-col-md6">
                            <table class="layui-table">
                                <tbody>
                                    <tr>
                                        <td class="kaXNTableTrTdDivStr">所在地</td>
                                        <td class="kaXNTableTrTdDivValueStr">` + params.mylocation + `</td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                        <div class="layui-col-xs6 layui-col-sm6 layui-col-md6">
                            <table class="layui-table">
                                <tbody>
                                    <tr>
                                        <td class="kaXNTableTrTdDivStr">部门</td>
                                        <td class="kaXNTableTrTdDivValueStr">` + params.dept.deptName + `</td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                        <div class="layui-col-xs6 layui-col-sm6 layui-col-md6">
                            <table class="layui-table">
                                <tbody>
                                    <tr>
                                        <td class="kaXNTableTrTdDivStr">企业</td>
                                        <td class="kaXNTableTrTdDivValueStr">` + params.tenantName + `</td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>
                    <fieldset class="layui-elem-field layui-field-title">
                        <legend>其他信息</legend>
                    </fieldset>
                    <div class="layui-row kaXNTableTrDiv">
                        <div class="layui-col-xs6 layui-col-sm6 layui-col-md6 kaXNTableTrTdDiv">
                            <table class="layui-table">
                                <tbody>
                                    <tr>
                                        <td class="kaXNTableTrTdDivStr">性别</td>
                                        <td class="kaXNTableTrTdDivValueStr">` + (params.sex == 1 ? "男" : params.sex == 2 ? "女" : "保密") + `</td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                        <div class="layui-col-xs6 layui-col-sm6 layui-col-md6 kaXNTableTrTdDiv">
                            <table class="layui-table">
                                <tbody>
                                    <tr>
                                         <td class="kaXNTableTrTdDivStr">业务类型</td>
                                         <td class="kaXNTableTrTdDivValueStr">` + (params.bussType == 1 ? "平台用户" : params.bussType == 2 ? "商城会员用户" : params.bussType == 3 ? "知识库用户" : params.bussType == 4 ? "其他前端用户" : "") + `</td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                        <div class="layui-col-xs6 layui-col-sm6 layui-col-md6">
                            <table class="layui-table">
                                <tbody>
                                    <tr>
                                        <td class="kaXNTableTrTdDivStr">登录IP</td>
                                        <td class="kaXNTableTrTdDivValueStr">` + params.loginIp + `</td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                        <div class="layui-col-xs6 layui-col-sm6 layui-col-md6">
                            <table class="layui-table">
                                <tbody>
                                    <tr>
                                        <td class="kaXNTableTrTdDivStr">登录时间</td>
                                        <td class="kaXNTableTrTdDivValueStr">` + layui.kaPublic.systemDateZhuanQDSj(params.loginDate) + `</td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                        <div class="layui-col-xs12 layui-col-sm12 layui-col-md12">
                            <table class="layui-table">
                                <tbody>
                                    <tr>
                                        <td class="kaXNTableTrTdDivStr">账号等级</td>
                                        <td class="kaXNTableTrTdDivValueStr">` + layui.kaPublic.loadAccountLevel(params.accountLevel) + `</td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>
                    <div class="layui-row kaXNTableTrDiv">
                        <div class="layui-col-xs12 layui-col-sm12 layui-col-md12"  style="margin-top: 15px;">
                           <img src="../admin/images/ggzz.jpg" class="" style="width: 100%;height: 360px;border-radius: 10px;box-shadow: 0px 5px 20px 0px rgba(69, 67, 96, 0.1);">
                        </div>
                    </div>
                </div>
                `
            }
            // 账号信息管理
            this.v3 = function (currentUserRoles) {
                var currentUserRolesHtml = ``;
                for (var i in currentUserRoles) {
                    currentUserRolesHtml = currentUserRolesHtml + `
                        <button type="button" class="layui-btn layui-btn-primary layui-btn-xs">` + currentUserRoles[i].roleName + `</button>
                    `;
                }
                var currentUser = layui.kaCurrentUser.get().data;
                var kaAccountInfoinfoMain = `
                    <div style="text-align: center;margin-top: 15px;">
                        <div>
                            <img id="kaAccountInfoUpdateHeadImg" src="` + currentUser.avatar + `" class="usernameImg kaAccountInfoUpdateHeadImg">
                            <span id="kaAccountInfoUpdateHeadClick">
                                <i class="icon Kaultraiconfont Kaultraicon-upload" style="font-size: 50px;"></i>
                                <div style="font-weight: 900;font-size: 18px;">点击上传</div>
                            </span>
                        </div>
                        <div style="padding-top: 15px;font-size: 25px;font-weight: 900;">` + currentUser.nickName + `</div>
                        <div style="color: #c3c3c3;">` + currentUser.signature + `</div>
                    </div>
                    <div style="padding-top: 25px;padding-bottom: 20px;">
                        <table class="layui-table">
                            <tbody>
                                <tr>
                                    <td style="background: #f5f5f594;letter-spacing: 5px;width: 110px;text-align: center;">账号</td>
                                    <td>` + currentUser.userName + `</td>
                                </tr>
                                <tr>
                                    <td style="background: #f5f5f594;letter-spacing: 5px;width: 110px;text-align: center;">手机号码</td>
                                    <td>` + currentUser.phonenumber + `</td>
                                </tr>
                                <tr>
                                    <td style="background: #f5f5f594;letter-spacing: 5px;width: 110px;text-align: center;">邮箱</td>
                                    <td>` + currentUser.email + `</td>
                                </tr>
                                <tr>
                                    <td style="background: #f5f5f594;letter-spacing: 5px;width: 110px;text-align: center;">部门</td>
                                    <td>` + currentUser.dept.deptName + `</td>
                                </tr>
                                <tr>
                                    <td style="background: #f5f5f594;letter-spacing: 5px;width: 110px;text-align: center;">角色</td>
                                    <td>` + currentUserRolesHtml + `</td>
                                </tr>
                                <tr>
                                    <td style="background: #f5f5f594;letter-spacing: 5px;width: 110px;text-align: center;">登录时间</td>
                                    <td>` + layui.kaPublic.systemDateZhuanQDSj(currentUser.loginDate) + `</td>
                                </tr>
                                <tr>
                                    <td style="background: #f5f5f594;letter-spacing: 5px;width: 110px;text-align: center;">登录IP</td>
                                    <td>` + currentUser.loginIp + `</td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                `;
                return kaAccountInfoinfoMain;
            }
            // 我的工具
            this.v4 = function (params) {
                var html = `
                    <div class="layui-card" style="height: 100%;box-shadow: unset;">
                        <div class="layui-card-header">
                            <i class="icon Kaultraiconfont Kaultraicon-tuijian" style="font-size: 24px;position: absolute;color: green;top: 0px;"></i>
                            <div style="margin-left: 30px;">小编推荐</div>
                        </div>
                        <div class="layui-card-body">
                            <div class="layui-row" style="margin-bottom: 40px;">
                                <div class="layui-col-xs3">
                                    <div>
                                        <span class="kaMySmallToolUpdateHeadClick" onclick="layui.kaPublic.kaMySmallToolOpenView('1', 'pdf转换', 'https://www.hipdf.cn/', '85%', '85%', 1)">
                                            <i class="icon Kaultraiconfont Kaultraicon-diannao" style="font-size: 24px;"></i>
                                            <div style="font-weight: 900;font-size: 14px;">点击使用</div>
                                        </span>
                                        <div style="float: left;" onclick="layui.kaPublic.kaMySmallToolOpenView('1', 'pdf转换', 'https://www.hipdf.cn/', '85%', '85%', 1)">
                                            <div style="border-radius: 10px;padding: 8px;box-shadow: 1px 1px 4px rgb(16 13 13 / 35%);">
                                                <img src="admin/images/PDF.png" style="width: 45px;height: 45px;"/>
                                            </div>
                                            <div style="text-align: center;margin-top: 7px;font-size: 14px;position: absolute;width: 90px;left: -15px;">pdf转换</div>    
                                        </div>
                                    </div>
                                </div>
                                <div class="layui-col-xs3">
                                    <div>
                                        <span class="kaMySmallToolUpdateHeadClick" onclick="layui.kaPublic.kaMySmallToolOpenView('2', '计算器', './view/myTool/calculator/index.html', '386px','572px', 0)">
                                            <i class="icon Kaultraiconfont Kaultraicon-diannao" style="font-size: 24px;"></i>
                                            <div style="font-weight: 900;font-size: 14px;">点击使用</div>
                                        </span>
                                        <div style="float: left;" onclick="layui.kaPublic.kaMySmallToolOpenView('2', '计算器', './view/myTool/calculator/index.html', '386px','572px', 0)">
                                            <div style="border-radius: 10px;padding: 8px;box-shadow: 1px 1px 4px rgb(16 13 13 / 35%);">
                                                <img src="admin/images/jisuanqi.png" style="width: 45px;height: 45px;"/>
                                            </div>
                                            <div style="text-align: center;margin-top: 7px;font-size: 14px;position: absolute;width: 90px;left: -15px;">计算器</div>    
                                        </div>
                                    </div>
                                </div>
                                <div class="layui-col-xs3">
                                    <div>
                                        <span class="kaMySmallToolUpdateHeadClick" onclick="layui.kaPublic.kaMySmallToolOpenView('3', '个税计算器', 'https://www.waylon.online/ovo-tax/', '85%', '85%', 1)">
                                            <i class="icon Kaultraiconfont Kaultraicon-diannao" style="font-size: 24px;"></i>
                                            <div style="font-weight: 900;font-size: 14px;">点击使用</div>
                                        </span>
                                        <div style="float: left;" onclick="layui.kaPublic.kaMySmallToolOpenView('3', '个税计算器', 'https://www.waylon.online/ovo-tax/', '85%', '85%', 1)">
                                            <div style="border-radius: 10px;padding: 8px;box-shadow: 1px 1px 4px rgb(16 13 13 / 35%);">
                                                <img src="admin/images/geshui.png" style="width: 45px;height: 45px;"/>
                                            </div>
                                            <div style="text-align: center;margin-top: 7px;font-size: 14px;position: absolute;width: 90px;left: -15px;">个税计算器</div>    
                                        </div>
                                    </div>
                                </div>
                                <div class="layui-col-xs3">
                                    <div>
                                        <span class="kaMySmallToolUpdateHeadClick" onclick="layui.kaPublic.kaMySmallToolOpenView('4', '豆包', 'https://www.doubao.com/chat/?keywordid=logo', '641px', '1100px', 1)">
                                            <i class="icon Kaultraiconfont Kaultraicon-diannao" style="font-size: 24px;"></i>
                                            <div style="font-weight: 900;font-size: 14px;">点击使用</div>
                                        </span>
                                        <div style="float: left;" onclick="layui.kaPublic.kaMySmallToolOpenView('4', '豆包', 'https://www.doubao.com/chat/?keywordid=logo', '641px', '1100px', 1)">
                                            <div style="border-radius: 10px;padding: 8px;box-shadow: 1px 1px 4px rgb(16 13 13 / 35%);">
                                                <img src="https://www.waylon.online/static/ovoicon/accgfi.webp" style="width: 45px;height: 45px;"/>
                                            </div>
                                            <div style="text-align: center;margin-top: 7px;font-size: 14px;position: absolute;width: 90px;left: -15px;">豆包</div>    
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="layui-row" style="margin-bottom: 40px;">
                                <div class="layui-col-xs3">
                                    <div>
                                        <span class="kaMySmallToolUpdateHeadClick" onclick="layui.kaPublic.kaMySmallToolOpenView('4', '生成二维码', 'https://cn.online-qrcode-generator.com/', '90%', '90%', 1)">
                                            <i class="icon Kaultraiconfont Kaultraicon-diannao" style="font-size: 24px;"></i>
                                            <div style="font-weight: 900;font-size: 14px;">点击使用</div>
                                        </span>
                                        <div style="float: left;" onclick="layui.kaPublic.kaMySmallToolOpenView('4', '生成二维码', 'https://cn.online-qrcode-generator.com/', '90%', '90%', 1)">
                                            <div style="border-radius: 10px;padding: 8px;box-shadow: 1px 1px 4px rgb(16 13 13 / 35%);">
                                                <img src="admin/images/erweima.png" style="width: 45px;height: 45px;"/>
                                            </div>
                                            <div style="text-align: center;margin-top: 7px;font-size: 14px;position: absolute;width: 90px;left: -15px;">生成二维码</div>    
                                        </div>
                                    </div>
                                </div>
                                <div class="layui-col-xs3">
                                    <div>
                                        <span class="kaMySmallToolUpdateHeadClick" onclick="layui.kaPublic.kaMySmallToolOpenView('4', '图片压缩', 'https://www.waylon.online/ovo-compress-img/', '90%', '90%', 1)">
                                            <i class="icon Kaultraiconfont Kaultraicon-diannao" style="font-size: 24px;"></i>
                                            <div style="font-weight: 900;font-size: 14px;">点击使用</div>
                                        </span>
                                        <div style="float: left;" onclick="layui.kaPublic.kaMySmallToolOpenView('4', '图片压缩', 'https://www.waylon.online/ovo-compress-img/', '90%', '90%', 1)">
                                            <div style="border-radius: 10px;padding: 8px;box-shadow: 1px 1px 4px rgb(16 13 13 / 35%);">
                                                <img src="admin/images/tupianyasuo.png" style="width: 45px;height: 45px;"/>
                                            </div>
                                            <div style="text-align: center;margin-top: 7px;font-size: 14px;position: absolute;width: 90px;left: -15px;">图片压缩</div>    
                                        </div>
                                    </div>
                                </div>
                                <div class="layui-col-xs3">
                                    <div>
                                        <span class="kaMySmallToolUpdateHeadClick" onclick="layui.kaPublic.kaMySmallToolOpenView('4', '百度翻译', 'https://fanyi.baidu.com/mtpe-individual/multimodal', '80%', '80%', 1)">
                                            <i class="icon Kaultraiconfont Kaultraicon-diannao" style="font-size: 24px;"></i>
                                            <div style="font-weight: 900;font-size: 14px;">点击使用</div>
                                        </span>
                                        <div style="float: left;" onclick="layui.kaPublic.kaMySmallToolOpenView('4', '百度翻译', 'https://fanyi.baidu.com/mtpe-individual/multimodal', '80%', '80%', 1)">
                                            <div style="border-radius: 10px;padding: 8px;box-shadow: 1px 1px 4px rgb(16 13 13 / 35%);">
                                                <img src="https://www.waylon.online/static/ovoicon/3w0fk2.svg" style="width: 45px;height: 45px;"/>
                                            </div>
                                            <div style="text-align: center;margin-top: 7px;font-size: 14px;position: absolute;width: 90px;left: -15px;">百度翻译</div>    
                                        </div>
                                    </div>
                                </div>
                                <div class="layui-col-xs3">
                                    <div>
                                        <span class="kaMySmallToolUpdateHeadClick" onclick="layui.kaPublic.kaMySmallToolOpenView('4', '五子棋', './view/myTool/wzq/index.html', '641px', '1100px', 1)">
                                            <i class="icon Kaultraiconfont Kaultraicon-diannao" style="font-size: 24px;"></i>
                                            <div style="font-weight: 900;font-size: 14px;">点击使用</div>
                                        </span>
                                        <div style="float: left;" onclick="layui.kaPublic.kaMySmallToolOpenView('4', '五子棋', './view/myTool/wzq/index.html', '641px', '1100px', 1)">
                                            <div style="border-radius: 10px;padding: 8px;box-shadow: 1px 1px 4px rgb(16 13 13 / 35%);">
                                                <img src="admin/images/wzq.png" style="width: 45px;height: 45px;"/>
                                            </div>
                                            <div style="text-align: center;margin-top: 7px;font-size: 14px;position: absolute;width: 90px;left: -15px;">五子棋</div>    
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="layui-row" style="margin-top: 90px;">
                                <div class="layui-col-xs12" style="text-align: right;">
                                    <button type="button" class="layui-btn layui-btn-sm">更多应用</button>
                                </div>
                            </div>
                        </div>
                    </div>
                `;
                return html;
            }
            this.v41 = function (params) {
                var html = `
                    <div class="layui-card" style="height: 100%;">
                        <div class="layui-card-header">
                            <i class="icon Kaultraiconfont Kaultraicon-remen" style="font-size: 24px;position: absolute;color: red;top: 0px;"></i>
                            <div style="margin-left: 30px;">常用网址</div>
                        </div>
                        <div class="layui-card-body">
                            <div class="layui-row" style="margin-bottom: 40px;">
                                <div class="layui-col-xs3" style="margin-bottom: 10px;">
                                    <a  href="https://docs.dingtalk.com/i/desktop" style="color: green;font-size: 16px;font-weight: 500;padding-bottom: 5px;"  target="_blank">
                                        <i class="icon Kaultraiconfont Kaultraicon-guanlipingtaiicon_bangzhuwendang" style="font-size: 18px;margin-right: 2px;"></i> 帮助文档
                                    </a>
                                </div>
                                <div class="layui-col-xs3" style="margin-bottom: 10px;">
                                    <a  href="https://www.baidu.com/" style="color: #ffaf00;font-size: 16px;font-weight: 500;padding-bottom: 5px;"  target="_blank">
                                        <i class="icon Kaultraiconfont Kaultraicon-shequ" style="font-size: 18px;margin-right: 2px;"></i> KA 社区
                                    </a>
                                </div>
                                <div class="layui-col-xs3" style="margin-bottom: 10px;">
                                    <a  href="https://www.baidu.com/" style="color: #007dff;font-size: 16px;font-weight: 500;padding-bottom: 5px;"  target="_blank">
                                        <i class="icon Kaultraiconfont Kaultraicon-spring_boot" style="font-size: 18px;margin-right: 2px;"></i> 应用中心
                                    </a>
                                </div>
                                <div class="layui-col-xs3" style="margin-bottom: 10px;">
                                    <a  href="https://www.baidu.com/" style="color: var(--global-primary-color);font-size: 16px;font-weight: 500;padding-bottom: 5px;"  target="_blank">
                                        <i class="icon Kaultraiconfont Kaultraicon-APPkaifa" style="font-size: 18px;margin-right: 2px;"></i> 手机端下载
                                    </a>
                                </div>
                                <div class="layui-col-xs3" style="margin-bottom: 10px;">
                                    <a  href="https://www.baidu.com/" style="color: var(--global-primary-color);font-size: 16px;font-weight: 500;padding-bottom: 5px;"  target="_blank">
                                        <i class="icon Kaultraiconfont Kaultraicon-kehuduan" style="font-size: 18px;margin-right: 2px;"></i> PC客户端下载
                                    </a>
                                </div>
                                <div class="layui-col-xs3" style="margin-bottom: 10px;">
                                    <a  href="https://www.baidu.com/" style="color: var(--global-primary-color);font-size: 16px;font-weight: 500;padding-bottom: 5px;border-bottom: 1px dashed #c5c5c5;"  target="_blank">
                                        <i class="icon Kaultraiconfont Kaultraicon-shouzhi" style="font-size: 18px;margin-right: 2px;"></i> 百度
                                    </a>
                                </div>
                                <div class="layui-col-xs3" style="margin-bottom: 10px;">
                                    <a  href="https://vip.kingdee.com/?productId=1&productLineId=1&lang=zh-CN" style="color: var(--global-primary-color);font-size: 16px;font-weight: 500;padding-bottom: 5px;border-bottom: 1px dashed #c5c5c5;"  target="_blank">
                                        <i class="icon Kaultraiconfont Kaultraicon-shouzhi" style="font-size: 18px;margin-right: 2px;"></i> 金蝶云社区
                                    </a>
                                </div>
                                <div class="layui-col-xs3" style="margin-bottom: 10px;">
                                    <a  href="https://vip.kingdee.com/?productId=1&productLineId=1&lang=zh-CN" style="color: var(--global-primary-color);font-size: 16px;font-weight: 500;padding-bottom: 5px;border-bottom: 1px dashed #c5c5c5;"  target="_blank">
                                        <i class="icon Kaultraiconfont Kaultraicon-shouzhi" style="font-size: 18px;margin-right: 2px;"></i> 金蝶ERP
                                    </a>
                                </div>
                                <div class="layui-col-xs3" style="margin-bottom: 10px;">
                                    <a  href="https://vip.kingdee.com/?productId=1&productLineId=1&lang=zh-CN" style="color: var(--global-primary-color);font-size: 16px;font-weight: 500;padding-bottom: 5px;border-bottom: 1px dashed #c5c5c5;"  target="_blank">
                                        <i class="icon Kaultraiconfont Kaultraicon-shouzhi" style="font-size: 18px;margin-right: 2px;"></i> 金蝶ERP客户端安装包
                                    </a>
                                </div>
                                <div class="layui-col-xs3" style="margin-bottom: 10px;">
                                    <a  href="https://vip.kingdee.com/?productId=1&productLineId=1&lang=zh-CN" style="color: var(--global-primary-color);font-size: 16px;font-weight: 500;padding-bottom: 5px;border-bottom: 1px dashed #c5c5c5;"  target="_blank">
                                        <i class="icon Kaultraiconfont Kaultraicon-shouzhi" style="font-size: 18px;margin-right: 2px;"></i> MES
                                    </a>
                                </div>
                                <div class="layui-col-xs3" style="margin-bottom: 10px;">
                                    <a  href="https://vip.kingdee.com/?productId=1&productLineId=1&lang=zh-CN" style="color: var(--global-primary-color);font-size: 16px;font-weight: 500;padding-bottom: 5px;border-bottom: 1px dashed #c5c5c5;"  target="_blank">
                                        <i class="icon Kaultraiconfont Kaultraicon-shouzhi" style="font-size: 18px;margin-right: 2px;"></i> 仓库管理
                                    </a>
                                </div>
                            </div>
                            <div class="layui-row" style="margin-top: 90px;">
                                <div class="layui-col-xs12" style="text-align: right;">
                                    <button type="button" class="layui-btn layui-btn-sm">维护常用网址</button>
                                </div>
                            </div>
                        </div>
                    </div>
                `
                return html;
            }
            this.v42 = function (params) {
                var html = `
                    <div class="layui-card" style="height: 100%;">
                        <div class="layui-card-header">
                            <i class="icon Kaultraiconfont Kaultraicon-shenpiliuchengguanli" style="font-size: 20px;position: absolute;color: #026cf3;top: 5px;"></i>
                            <div style="margin-left: 30px;">系统开发功能</div>
                        </div>
                        <div class="layui-card-body">
                            <div class="layui-row" style="margin-bottom: 40px;">
                                <div class="layui-col-xs2">
                                    <div>
                                        <span class="kaMySmallToolUpdateHeadClick" onclick="layui.kaPublic.kaMySmallToolOpenView('2', '计算器', './view/myTool/calculator/index.html', '386px','572px', 0)">
                                            <i class="icon Kaultraiconfont Kaultraicon-diannao" style="font-size: 24px;"></i>
                                            <div style="font-weight: 900;font-size: 14px;">点击使用</div>
                                        </span>
                                        <div style="float: left;" onclick="layui.kaPublic.kaMySmallToolOpenView('2', '计算器', './view/myTool/calculator/index.html', '386px','572px', 0)">
                                            <div style="border-radius: 10px;padding: 8px;box-shadow: 1px 1px 4px rgb(16 13 13 / 35%);">
                                                <img src="admin/images/jisuanqi.png" style="width: 45px;height: 45px;"/>
                                            </div>
                                            <div style="text-align: center;margin-top: 7px;font-size: 14px;position: absolute;width: 90px;left: -15px;">计算器</div>    
                                        </div>
                                    </div>
                                </div>
                                <div class="layui-col-xs2">
                                    <div>
                                        <span class="kaMySmallToolUpdateHeadClick" onclick="layui.kaPublic.kaMySmallToolOpenView('2', '智能比价', './view/myTool/calculator/index.html', '386px','572px', 0)">
                                            <i class="icon Kaultraiconfont Kaultraicon-diannao" style="font-size: 24px;"></i>
                                            <div style="font-weight: 900;font-size: 14px;">点击使用</div>
                                        </span>
                                        <div style="float: left;" onclick="layui.kaPublic.kaMySmallToolOpenView('2', '智能比价', './view/myTool/calculator/index.html', '386px','572px', 0)">
                                            <div style="border-radius: 10px;padding: 8px;box-shadow: 1px 1px 4px rgb(16 13 13 / 35%);">
                                                <img src="admin/images/zhinengbijia.png" style="width: 45px;height: 45px;"/>
                                            </div>
                                            <div style="text-align: center;margin-top: 7px;font-size: 14px;position: absolute;width: 90px;left: -15px;">智能比价</div>    
                                        </div>
                                    </div>
                                </div>
                                <div class="layui-col-xs2">
                                    <div>
                                        <span class="kaMySmallToolUpdateHeadClick" onclick="layui.kaPublic.kaMySmallToolOpenView('2', 'AI', './view/myTool/calculator/index.html', '386px','572px', 0)">
                                            <i class="icon Kaultraiconfont Kaultraicon-diannao" style="font-size: 24px;"></i>
                                            <div style="font-weight: 900;font-size: 14px;">点击使用</div>
                                        </span>
                                        <div style="float: left;" onclick="layui.kaPublic.kaMySmallToolOpenView('2', 'AI', './view/myTool/calculator/index.html', '386px','572px', 0)">
                                            <div style="border-radius: 10px;padding: 8px;box-shadow: 1px 1px 4px rgb(16 13 13 / 35%);">
                                                <img src="admin/images/zhinengfenxi.png" style="width: 45px;height: 45px;"/>
                                            </div>
                                            <div style="text-align: center;margin-top: 7px;font-size: 14px;position: absolute;width: 90px;left: -15px;">AI</div>    
                                        </div>
                                    </div>
                                </div>
                                <div class="layui-col-xs2">
                                    <div>
                                        <span class="kaMySmallToolUpdateHeadClick" onclick="layui.kaPublic.kaMySmallToolOpenView('4', '随机密码生成器', './view/myTool/password/index.html', '505px', '755px', 1)">
                                            <i class="icon Kaultraiconfont Kaultraicon-diannao" style="font-size: 24px;"></i>
                                            <div style="font-weight: 900;font-size: 14px;">点击使用</div>
                                        </span>
                                        <div style="float: left;" onclick="layui.kaPublic.kaMySmallToolOpenView('4', '随机密码生成器', './view/myTool/password/index.html', '505px', '755px', 1)">
                                            <div style="border-radius: 10px;padding: 8px;box-shadow: 1px 1px 4px rgb(16 13 13 / 35%);">
                                                <img src="admin/images/touzi.png" style="width: 45px;height: 45px;"/>
                                            </div>
                                            <div style="text-align: center;margin-top: 7px;font-size: 14px;position: absolute;width: 90px;left: -15px;">随机密码生成器</div>    
                                        </div>
                                    </div>
                                </div>
                                <div class="layui-col-xs2">
                                    <div>
                                        <span class="kaMySmallToolUpdateHeadClick" onclick="layui.kaPublic.kaMySmallToolOpenViewShizhong('4', '时钟', './view/myTool/shizhong/index.html', '432px', '432px', 1)">
                                            <i class="icon Kaultraiconfont Kaultraicon-diannao" style="font-size: 24px;"></i>
                                            <div style="font-weight: 900;font-size: 14px;">点击使用</div>
                                        </span>
                                        <div style="float: left;" onclick="layui.kaPublic.kaMySmallToolOpenViewShizhong('4', '时钟', './view/myTool/shizhong/index.html', '432px', '432px', 1)">
                                            <div style="border-radius: 10px;padding: 8px;box-shadow: 1px 1px 4px rgb(16 13 13 / 35%);">
                                                <img src="admin/images/shizhong.png" style="width: 45px;height: 45px;"/>
                                            </div>
                                            <div style="text-align: center;margin-top: 7px;font-size: 14px;position: absolute;width: 90px;left: -15px;">时钟</div>    
                                        </div>
                                    </div>
                                </div>
                                <div class="layui-col-xs2">
                                    <div>
                                        <span class="kaMySmallToolUpdateHeadClick" onclick="layui.kaPublic.kaMySmallToolOpenView('4', '五子棋', './view/myTool/wzq/index.html', '641px', '1100px', 1)">
                                            <i class="icon Kaultraiconfont Kaultraicon-diannao" style="font-size: 24px;"></i>
                                            <div style="font-weight: 900;font-size: 14px;">点击使用</div>
                                        </span>
                                        <div style="float: left;" onclick="layui.kaPublic.kaMySmallToolOpenView('4', '五子棋', './view/myTool/wzq/index.html', '641px', '1100px', 1)">
                                            <div style="border-radius: 10px;padding: 8px;box-shadow: 1px 1px 4px rgb(16 13 13 / 35%);">
                                                <img src="admin/images/wzq.png" style="width: 45px;height: 45px;"/>
                                            </div>
                                            <div style="text-align: center;margin-top: 7px;font-size: 14px;position: absolute;width: 90px;left: -15px;">五子棋</div>    
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                `;
                return html;
            }
        };
        exports('kaHtmlStatic', kaHtmlStatic);
    }
)